#include "system_handle.h"
#include "ds_clientagent.h"

CLASS_IMPLEMENT_EX (System, SystemHandle)

SystemHandle::~SystemHandle()
{

}

void WINAPI SystemHandle::EventRegist( LPCWSTR name )
{
	DSSocketClient::GetCurrentClient()->EventRegist(name);
}

void WINAPI SystemHandle::EventDispatch( LPCWSTR name, AmfObjectPtr obj )
{
	DSSocketClient::EventDispatch(name, obj);
}

void WINAPI SystemHandle::UpdateEvents( AmfObjectPtr pNameList )
{
	DSSocketClient::GetCurrentClient()->EventUpdateList(pNameList);
}
